const api = require('../../utils/api.js');
const app = getApp();

Component({
  properties: {
    isShow: {
      type: Boolean,
      value: false
    },
    isBrand: {
      type: Boolean,
      value: false
    },
    isAdmin: {
      type: Number,
      value: false,
    },
    isBlack: {
      type: Number,
      value: false,
    },
    current: {
      type: Number,
    }
  },
  data: {

  },
  methods: {
    _userOprFun(e) {
      let type = e.currentTarget.dataset.type;
      this.triggerEvent('userSetting', { type, index: this.data.current }, {});
    },
  }
})
